package com.rockcent.service.impl;

import com.rockcent.mall.lib.domain.MallMemberTransactionCommissionFlow;
import com.rockcent.mall.lib.repository.MallMemberTransactionCommissionFlowRepository;
import com.rockcent.service.MallMemberTransactionCommissionFlowSrv;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by zhangjh on 2017/3/10.
 */
@Service
public class MallMemberTransactionCommissionFlowSrvImpl implements MallMemberTransactionCommissionFlowSrv {
    @Autowired
    private MallMemberTransactionCommissionFlowRepository mallMemberTransactionCommissionFlowRepository;


    @Override
    public MallMemberTransactionCommissionFlow findTop1BySeqNo(String seqNo) {
        return mallMemberTransactionCommissionFlowRepository.findTop1BySeqNo(seqNo);
    }
}
